const mongoose = require('mongoose');
mongoose.connect(
		'mongodb://localhost:27017/db2113',
		{
            useNewUrlParser:true
        } //使用解析器来解析本次连接
);

module.exports = mongoose;